package com.cwvs.cat.myview;

import com.cwvs.cat.Applications;
import com.cwvs.cat.globals.CatApplication;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;

public class CustomTextView extends TextView {
	
	public CustomTextView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	public CustomTextView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public CustomTextView(Context context){
		super(context);
	}

	public void setTypeface(Typeface tf, int style) { 
		if (style == Typeface.BOLD) {
			super.setTypeface(Applications.tf);
		} else {
			super.setTypeface(Applications.tf);
		}
	}
}
